package com.lejin.item.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.lejin.usercenter.entity.SysUser;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author luminghua
 * @since 2022-04-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CourseComment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 课程评论id
     */
    @TableId(value = "comment_id", type = IdType.AUTO)
    private Integer commentId;

    /**
     * 课程评论内容
     */
    private String commentContent;

    /**
     * 大纲id
     */
    private Integer outlineId;


    /**
     * 创建时间
     */
    private Date creatTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 评论对象ID
     */
    private Integer user_id;


    /**
     * 评论时间
     */
    private Date comment_time;





    @TableField(exist = false)
    private SysUser sysUser;



}
